package com.whmall.service.crm.module.company.dao;

import com.whmall.component.mybatis.mapper.BatchMapper;
import com.whmall.service.crm.entity.dto.company.CompanyNotTradableReqDTO;
import com.whmall.service.crm.module.company.entity.CompanyNotTradableDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface CompanyNotTradableMapper extends BatchMapper<CompanyNotTradableDO> {

    List<CompanyNotTradableDO> companyNotTradableList(CompanyNotTradableReqDTO reqDTO);

    int delIneffective(@Param("date") Date date);
}
